package com.ruoyi.station.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 设备对象 s_equipment
 *
 * @author ruoyi
 * @date 2021-08-06
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "设备实体类")
@TableName("s_equipment")
public class SEquipment
{
    private static final long serialVersionUID=1L;

    /** 主键ID */
    @ApiModelProperty(value = "${comment}" )
    @TableId(value="ID" ,type = IdType.ASSIGN_UUID)
    private String id;

    /** 设备ID */
    @Excel(name = "设备ID" )
    @ApiModelProperty(value = "设备ID" )
    private String equipmentId;

    /** 所属系统 */
    @Excel(name = "所属系统" )
    @ApiModelProperty(value = "所属系统" )
    private String system;

    /** 所属机柜 */
    @Excel(name = "所属机柜" )
    @ApiModelProperty(value = "所属机柜" )
    private String machineCabinet;

    /** 设备类型 */
    @Excel(name = "设备类型" )
    @ApiModelProperty(value = "设备类型" )
    private String equipmentType;

    /** 设备型号 */
    @Excel(name = "设备型号" )
    @ApiModelProperty(value = "设备型号" )
    private String equipmentModel;

    /** 调度等级 */
    @ApiModelProperty(value = "调度等级" )
    private String dispatchLevel;

    /** 最大额定电流 */
    @ApiModelProperty(value = "最大额定电流" )
    private String maxRatedCurrent;

    /** 实物ID */
    @ApiModelProperty(value = "实物ID" )
    private String materialId;

    /** 运行状态 */
    @Excel(name = "运行状态" )
    @ApiModelProperty(value = "运行状态" )
    private String runningStatus;

    /** 照片 */
    @Excel(name = "照片" )
    @ApiModelProperty(value = "照片" )
    private String fileList;

    /** 填报部门ID */
    @ApiModelProperty(value = "填报部门ID" )
    private Long fillDeptId;

    /** 填报部门 */
    @Excel(name = "填报部门" )
    @ApiModelProperty(value = "填报部门" )
    private String fillDept;

    /** 填报人ID */
    @ApiModelProperty(value = "填报人ID" )
    private String fillById;

    /** 填报人 */
    @Excel(name = "填报人" )
    @ApiModelProperty(value = "填报人" )
    private String fillBy;

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value =  "create_time",fill = FieldFill.INSERT)
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value =  "update_time",fill = FieldFill.UPDATE)
    private Date updateTime;

    /** 删除标志（0代表存在 2代表删除） */
    @ApiModelProperty(value = "删除标记" )
    @TableLogic(value = "0",delval = "2")
    private String delFlag;


}
